package com.wn.pettyloan.mapper;

import com.wn.pettyloan.entity.Permission;
import com.wn.pettyloan.vo.PermissionVo;

import java.util.List;

/**
* @author mi-xu
* @description 针对表【permission】的数据库操作Mapper
* @createDate 2022-12-15 18:37:26
* @Entity com.wn.pettyloan.entity.Permission
*/
public interface PermissionMapper {

    int deleteByPrimaryKey(Long id);

    int insert(Permission record);

    int insertSelective(Permission record);

    Permission selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Permission record);

    int updateByPrimaryKey(Permission record);


    List<PermissionVo> selectMenuList(String username, Integer pid);

    List<String> selectPermissionByEmpuacc(String username);
}
